home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / stlc240c.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  23.1 KB  |  804 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "Stlc240C.gpd"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Star LC-240C"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "St24eres.Dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15.     *rcNameID: =ORIENTATION_DISPLAY
  16.     *DefaultOption: PORTRAIT
  17.     *Option: PORTRAIT
  18.     {
  19.         *rcNameID: =PORTRAIT_DISPLAY
  20.     }
  21.     *Option: LANDSCAPE_CC270
  22.     {
  23.         *rcNameID: =LANDSCAPE_DISPLAY
  24.     }
  25. }
  26. *Feature: InputBin
  27. {
  28.     *rcNameID: =PAPER_SOURCE_DISPLAY
  29.     *DefaultOption: MANUAL
  30.     *Option: TRACTOR
  31.     {
  32.         *rcNameID: =TRACTOR_DISPLAY
  33.     }
  34.     *Option: Option2
  35.     {
  36.         *rcNameID: 284
  37.         *Command: CmdSelect
  38.         {
  39.             *Order: DOC_SETUP.3
  40.             *Cmd: "<1B1904>"
  41.         }
  42.     }
  43.     *Option: MANUAL
  44.     {
  45.         *rcNameID: =MANUAL_FEED_DISPLAY
  46.         *Command: CmdSelect
  47.         {
  48.             *Order: DOC_SETUP.3
  49.             *Cmd: "<1B1900>"
  50.         }
  51.     }
  52. }
  53. *Feature: Resolution
  54. {
  55.     *rcNameID: =RESOLUTION_DISPLAY
  56.     *DefaultOption: Option3
  57.     *Option: Option1
  58.     {
  59.         *Name: "360 x 360 " =DOTS_PER_INCH
  60.         *DPI: PAIR(360, 360)
  61.         *TextDPI: PAIR(360, 360)
  62.         *PinsPerLogPass: 48
  63.         *PinsPerPhysPass: 24
  64.         *MinStripBlankPixels: 180
  65.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  66.         *SpotDiameter: 170
  67.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  68.     }
  69.     *Option: Option2
  70.     {
  71.         *Name: "360 x 180 " =DOTS_PER_INCH
  72.         *DPI: PAIR(360, 180)
  73.         *TextDPI: PAIR(360, 180)
  74.         *PinsPerLogPass: 24
  75.         *PinsPerPhysPass: 24
  76.         *MinStripBlankPixels: 180
  77.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  78.         *SpotDiameter: 170
  79.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  80.     }
  81.     *Option: Option3
  82.     {
  83.         *Name: "180 x 180 " =DOTS_PER_INCH
  84.         *DPI: PAIR(180, 180)
  85.         *TextDPI: PAIR(180, 180)
  86.         *PinsPerLogPass: 24
  87.         *PinsPerPhysPass: 24
  88.         *MinStripBlankPixels: 90
  89.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  90.         *SpotDiameter: 170
  91.         *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{(NumOfDataBytes / 3) } }
  92.     }
  93.     *Option: Option4
  94.     {
  95.         *Name: "120 x 180 " =DOTS_PER_INCH
  96.         *DPI: PAIR(120, 180)
  97.         *TextDPI: PAIR(120, 180)
  98.         *PinsPerLogPass: 24
  99.         *PinsPerPhysPass: 24
  100.         *MinStripBlankPixels: 60
  101.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  102.         *SpotDiameter: 170
  103.         *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  104.     }
  105. }
  106. *Feature: PaperSize
  107. {
  108.     *rcNameID: =PAPER_SIZE_DISPLAY
  109.     *DefaultOption: A4
  110.     *Option: LETTER
  111.     {
  112.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  113.         *Command: CmdSelect
  114.         {
  115.             *Order: DOC_SETUP.4
  116.             *Cmd: "<1B>2<1B>CB"
  117.         }
  118.         *switch: InputBin
  119.         {
  120.             *case: TRACTOR
  121.             {
  122.                 *PrintableArea: PAIR(5760, 7920)
  123.                 *PrintableOrigin: PAIR(72, 0)
  124.             }
  125.             *case: Option2
  126.             {
  127.                 *PrintableArea: PAIR(5760, 7574)
  128.                 *PrintableOrigin: PAIR(72, 120)
  129.                 *switch: Resolution
  130.                 {
  131.                     *case: Option1
  132.                     {
  133.                         *PrintableArea: PAIR(5760, 7574)
  134.                     }
  135.                     *case: Option2
  136.                     {
  137.                         *PrintableArea: PAIR(5760, 7572)
  138.                     }
  139.                     *case: Option3
  140.                     {
  141.                         *PrintableArea: PAIR(5760, 7572)
  142.                     }
  143.                     *case: Option4
  144.                     {
  145.                         *PrintableArea: PAIR(5760, 7572)
  146.                     }
  147.                 }
  148.             }
  149.             *case: MANUAL
  150.             {
  151.                 *PrintableArea: PAIR(5760, 7574)
  152.                 *PrintableOrigin: PAIR(72, 120)
  153.                 *switch: Resolution
  154.                 {
  155.                     *case: Option1
  156.                     {
  157.                         *PrintableArea: PAIR(5760, 7574)
  158.                     }
  159.                     *case: Option2
  160.                     {
  161.                         *PrintableArea: PAIR(5760, 7572)
  162.                     }
  163.                     *case: Option3
  164.                     {
  165.                         *PrintableArea: PAIR(5760, 7572)
  166.                     }
  167.                     *case: Option4
  168.                     {
  169.                         *PrintableArea: PAIR(5760, 7572)
  170.                     }
  171.                 }
  172.             }
  173.         }
  174.     }
  175.     *Option: LEGAL
  176.     {
  177.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  178.         *Command: CmdSelect
  179.         {
  180.             *Order: DOC_SETUP.4
  181.             *Cmd: "<1B>2<1B>CT"
  182.         }
  183.         *switch: InputBin
  184.         {
  185.             *case: TRACTOR
  186.             {
  187.                 *PrintableArea: PAIR(5760, 10080)
  188.                 *PrintableOrigin: PAIR(72, 0)
  189.             }
  190.             *case: Option2
  191.             {
  192.                 *PrintableArea: PAIR(5760, 9734)
  193.                 *PrintableOrigin: PAIR(72, 120)
  194.                 *switch: Resolution
  195.                 {
  196.                     *case: Option1
  197.                     {
  198.                         *PrintableArea: PAIR(5760, 9734)
  199.                     }
  200.                     *case: Option2
  201.                     {
  202.                         *PrintableArea: PAIR(5760, 9732)
  203.                     }
  204.                     *case: Option3
  205.                     {
  206.                         *PrintableArea: PAIR(5760, 9732)
  207.                     }
  208.                     *case: Option4
  209.                     {
  210.                         *PrintableArea: PAIR(5760, 9732)
  211.                     }
  212.                 }
  213.             }
  214.             *case: MANUAL
  215.             {
  216.                 *PrintableArea: PAIR(5760, 9734)
  217.                 *PrintableOrigin: PAIR(72, 120)
  218.                 *switch: Resolution
  219.                 {
  220.                     *case: Option1
  221.                     {
  222.                         *PrintableArea: PAIR(5760, 9734)
  223.                     }
  224.                     *case: Option2
  225.                     {
  226.                         *PrintableArea: PAIR(5760, 9732)
  227.                     }
  228.                     *case: Option3
  229.                     {
  230.                         *PrintableArea: PAIR(5760, 9732)
  231.                     }
  232.                     *case: Option4
  233.                     {
  234.                         *PrintableArea: PAIR(5760, 9732)
  235.                     }
  236.                 }
  237.             }
  238.         }
  239.     }
  240.     *Option: EXECUTIVE
  241.     {
  242.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  243.         *Command: CmdSelect
  244.         {
  245.             *Order: DOC_SETUP.4
  246.             *Cmd: "<1B>2<1B>C?"
  247.         }
  248.         *switch: InputBin
  249.         {
  250.             *case: TRACTOR
  251.             {
  252.                 *PrintableArea: PAIR(5076, 7560)
  253.                 *PrintableOrigin: PAIR(72, 0)
  254.             }
  255.             *case: Option2
  256.             {
  257.                 *PrintableArea: PAIR(5076, 7214)
  258.                 *PrintableOrigin: PAIR(72, 120)
  259.                 *switch: Resolution
  260.                 {
  261.                     *case: Option1
  262.                     {
  263.                         *PrintableArea: PAIR(5076, 7214)
  264.                     }
  265.                     *case: Option2
  266.                     {
  267.                         *PrintableArea: PAIR(5076, 7212)
  268.                     }
  269.                     *case: Option3
  270.                     {
  271.                         *PrintableArea: PAIR(5076, 7212)
  272.                     }
  273.                     *case: Option4
  274.                     {
  275.                         *PrintableArea: PAIR(5076, 7212)
  276.                     }
  277.                 }
  278.             }
  279.             *case: MANUAL
  280.             {
  281.                 *PrintableArea: PAIR(5076, 7214)
  282.                 *PrintableOrigin: PAIR(72, 120)
  283.                 *switch: Resolution
  284.                 {
  285.                     *case: Option1
  286.                     {
  287.                         *PrintableArea: PAIR(5076, 7214)
  288.                     }
  289.                     *case: Option2
  290.                     {
  291.                         *PrintableArea: PAIR(5076, 7212)
  292.                     }
  293.                     *case: Option3
  294.                     {
  295.                         *PrintableArea: PAIR(5076, 7212)
  296.                     }
  297.                     *case: Option4
  298.                     {
  299.                         *PrintableArea: PAIR(5076, 7212)
  300.                     }
  301.                 }
  302.             }
  303.         }
  304.     }
  305.     *Option: A4
  306.     {
  307.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  308.         *Command: CmdSelect
  309.         {
  310.             *Order: DOC_SETUP.4
  311.             *Cmd: "<1B>2<1B>CF"
  312.         }
  313.         *switch: InputBin
  314.         {
  315.             *case: TRACTOR
  316.             {
  317.                 *PrintableArea: PAIR(5760, 8418)
  318.                 *PrintableOrigin: PAIR(72, 0)
  319.                 *switch: Resolution
  320.                 {
  321.                     *case: Option1
  322.                     {
  323.                         *PrintableArea: PAIR(5760, 8418)
  324.                     }
  325.                     *case: Option2
  326.                     {
  327.                         *PrintableArea: PAIR(5760, 8416)
  328.                     }
  329.                     *case: Option3
  330.                     {
  331.                         *PrintableArea: PAIR(5760, 8416)
  332.                     }
  333.                     *case: Option4
  334.                     {
  335.                         *PrintableArea: PAIR(5760, 8416)
  336.                     }
  337.                 }
  338.             }
  339.             *case: Option2
  340.             {
  341.                 *PrintableArea: PAIR(5760, 8072)
  342.                 *PrintableOrigin: PAIR(72, 120)
  343.             }
  344.             *case: MANUAL
  345.             {
  346.                 *PrintableArea: PAIR(5760, 8072)
  347.                 *PrintableOrigin: PAIR(72, 120)
  348.             }
  349.         }
  350.     }
  351.     *Option: B4
  352.     {
  353.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  354.         *Command: CmdSelect
  355.         {
  356.             *Order: DOC_SETUP.4
  357.             *Cmd: "<1B>2<1B>CT"
  358.         }
  359.         *switch: InputBin
  360.         {
  361.             *case: TRACTOR
  362.             {
  363.                 *PrintableArea: PAIR(5760, 10318)
  364.                 *PrintableOrigin: PAIR(72, 0)
  365.                 *switch: Resolution
  366.                 {
  367.                     *case: Option1
  368.                     {
  369.                         *PrintableArea: PAIR(5760, 10318)
  370.                     }
  371.                     *case: Option2
  372.                     {
  373.                         *PrintableArea: PAIR(5760, 10316)
  374.                     }
  375.                     *case: Option3
  376.                     {
  377.                         *PrintableArea: PAIR(5760, 10316)
  378.                     }
  379.                     *case: Option4
  380.                     {
  381.                         *PrintableArea: PAIR(5760, 10316)
  382.                     }
  383.                 }
  384.             }
  385.             *case: Option2
  386.             {
  387.                 *PrintableArea: PAIR(5760, 9972)
  388.                 *PrintableOrigin: PAIR(72, 120)
  389.             }
  390.             *case: MANUAL
  391.             {
  392.                 *PrintableArea: PAIR(5760, 9972)
  393.                 *PrintableOrigin: PAIR(72, 120)
  394.              }
  395.         }
  396.     }
  397.     *Option: B5
  398.     {
  399.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  400.         *Command: CmdSelect
  401.         {
  402.             *Order: DOC_SETUP.4
  403.             *Cmd: "<1B>2<1B>C="
  404.         }
  405.         *switch: InputBin
  406.         {
  407.             *case: TRACTOR
  408.             {
  409.                 *PrintableArea: PAIR(5014, 7284)
  410.                 *PrintableOrigin: PAIR(72, 0)
  411.                 *switch: Resolution
  412.                 {
  413.                     *case: Option1
  414.                     {
  415.                         *PrintableArea: PAIR(5014, 7284)
  416.                     }
  417.                     *case: Option2
  418.                     {
  419.                         *PrintableArea: PAIR(5014, 7284)
  420.                     }
  421.                     *case: Option3
  422.                     {
  423.                         *PrintableArea: PAIR(5012, 7284)
  424.                     }
  425.                     *case: Option4
  426.                     {
  427.                         *PrintableArea: PAIR(5010, 7284)
  428.                     }
  429.                 }
  430.             }
  431.             *case: Option2
  432.             {
  433.                 *PrintableArea: PAIR(5014, 6938)
  434.                 *PrintableOrigin: PAIR(72, 120)
  435.                 *switch: Resolution
  436.                 {
  437.                     *case: Option1
  438.                     {
  439.                         *PrintableArea: PAIR(5014, 6938)
  440.                     }
  441.                     *case: Option2
  442.                     {
  443.                         *PrintableArea: PAIR(5014, 6936)
  444.                     }
  445.                     *case: Option3
  446.                     {
  447.                         *PrintableArea: PAIR(5012, 6936)
  448.                     }
  449.                     *case: Option4
  450.                     {
  451.                         *PrintableArea: PAIR(5010, 6936)
  452.                     }
  453.                 }
  454.             }
  455.             *case: MANUAL
  456.             {
  457.                 *PrintableArea: PAIR(5014, 6938)
  458.                 *PrintableOrigin: PAIR(72, 120)
  459.                 *switch: Resolution
  460.                 {
  461.                     *case: Option1
  462.                     {
  463.                         *PrintableArea: PAIR(5014, 6938)
  464.                     }
  465.                     *case: Option2
  466.                     {
  467.                         *PrintableArea: PAIR(5014, 6936)
  468.                     }
  469.                     *case: Option3
  470.                     {
  471.                         *PrintableArea: PAIR(5012, 6936)
  472.                     }
  473.                     *case: Option4
  474.                     {
  475.                         *PrintableArea: PAIR(5010, 6936)
  476.                     }
  477.                 }
  478.             }
  479.         }
  480.     }
  481. *% "Fanfold 8.5 x 11 inch"
  482.     *Option: Option9
  483.     {
  484.         *rcNameID: 263
  485.         *OptionID: 263
  486.         *PageDimensions: PAIR(6120, 7920)
  487.         *Command: CmdSelect
  488.         {
  489.             *Order: DOC_SETUP.4
  490.             *Cmd: "<1B>C<000B>"
  491.         }
  492.         *switch: InputBin
  493.         {
  494.             *case: TRACTOR
  495.             {
  496.                 *PrintableArea: PAIR(5760, 7920)
  497.                 *PrintableOrigin: PAIR(360, 0)
  498.             }
  499.             *case: Option2
  500.             {
  501.                 *PrintableArea: PAIR(5760, 7574)
  502.                 *PrintableOrigin: PAIR(360, 120)
  503.                 *switch: Resolution
  504.                 {
  505.                     *case: Option1
  506.                     {
  507.                         *PrintableArea: PAIR(5760, 7574)
  508.                     }
  509.                     *case: Option2
  510.                     {
  511.                         *PrintableArea: PAIR(5760, 7572)
  512.                     }
  513.                     *case: Option3
  514.                     {
  515.                         *PrintableArea: PAIR(5760, 7572)
  516.                     }
  517.                     *case: Option4
  518.                     {
  519.                         *PrintableArea: PAIR(5760, 7572)
  520.                     }
  521.                 }
  522.             }
  523.             *case: MANUAL
  524.             {
  525.                 *PrintableArea: PAIR(5760, 7574)
  526.                 *PrintableOrigin: PAIR(360, 120)
  527.                 *switch: Resolution
  528.                 {
  529.                     *case: Option1
  530.                     {
  531.                         *PrintableArea: PAIR(5760, 7574)
  532.                     }
  533.                     *case: Option2
  534.                     {
  535.                         *PrintableArea: PAIR(5760, 7572)
  536.                     }
  537.                     *case: Option3
  538.                     {
  539.                         *PrintableArea: PAIR(5760, 7572)
  540.                     }
  541.                     *case: Option4
  542.                     {
  543.                         *PrintableArea: PAIR(5760, 7572)
  544.                     }
  545.                 }
  546.             }
  547.         }
  548.     }
  549. *% "Fanfold 8.5 x 12 inch"
  550.     *Option: Option10
  551.     {
  552.         *rcNameID: 264
  553.         *OptionID: 264
  554.         *PageDimensions: PAIR(6120, 8640)
  555.         *Command: CmdSelect
  556.         {
  557.             *Order: DOC_SETUP.4
  558.             *Cmd: "<1B>C<000C>"
  559.         }
  560.         *switch: InputBin
  561.         {
  562.             *case: TRACTOR
  563.             {
  564.                 *PrintableArea: PAIR(5760, 8640)
  565.                 *PrintableOrigin: PAIR(72, 0)
  566.             }
  567.             *case: Option2
  568.             {
  569.                 *PrintableArea: PAIR(5760, 8294)
  570.                 *PrintableOrigin: PAIR(360, 120)
  571.                 *switch: Resolution
  572.                 {
  573.                     *case: Option1
  574.                     {
  575.                         *PrintableArea: PAIR(5760, 8294)
  576.                     }
  577.                     *case: Option2
  578.                     {
  579.                         *PrintableArea: PAIR(5760, 8292)
  580.                     }
  581.                     *case: Option3
  582.                     {
  583.                         *PrintableArea: PAIR(5760, 8292)
  584.                     }
  585.                     *case: Option4
  586.                     {
  587.                         *PrintableArea: PAIR(5760, 8292)
  588.                     }
  589.                 }
  590.             }
  591.             *case: MANUAL
  592.             {
  593.                 *PrintableArea: PAIR(5760, 8294)
  594.                 *PrintableOrigin: PAIR(360, 120)
  595.                 *switch: Resolution
  596.                 {
  597.                     *case: Option1
  598.                     {
  599.                         *PrintableArea: PAIR(5760, 8294)
  600.                     }
  601.                     *case: Option2
  602.                     {
  603.                         *PrintableArea: PAIR(5760, 8292)
  604.                     }
  605.                     *case: Option3
  606.                     {
  607.                         *PrintableArea: PAIR(5760, 8292)
  608.                     }
  609.                     *case: Option4
  610.                     {
  611.                         *PrintableArea: PAIR(5760, 8292)
  612.                     }
  613.                 }
  614.             }
  615.         }
  616.     }
  617.     *Option: CUSTOMSIZE
  618.     {
  619.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  620.         *MinSize: PAIR(2880, 3960)
  621.         *MaxSize: PAIR(7920, 15840)
  622.         *MaxPrintableWidth: 5760
  623.         *MinLeftMargin: 0
  624.         *CenterPrintable?: FALSE
  625.         *switch: InputBin
  626.         {
  627.             *case: TRACTOR
  628.             {
  629.                 *TopMargin: 0
  630.                 *BottomMargin: 0
  631.             }
  632.             *case: Option2
  633.             {
  634.                 *TopMargin: 120
  635.                 *BottomMargin: 226
  636.             }
  637.             *case: MANUAL
  638.             {
  639.                 *TopMargin: 120
  640.                 *BottomMargin: 226
  641.             }
  642.         }
  643.         *Command: CmdSelect
  644.         {
  645.             *Order: DOC_SETUP.4
  646.             *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 120) )}
  647.         }
  648.     }
  649. }
  650. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LETTER)
  651. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LEGAL)
  652. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.EXECUTIVE)
  653. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A4)
  654. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B4)
  655. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5)
  656. *Feature: PrintQuality
  657. {
  658.     *rcNameID: =TEXT_QUALITY_DISPLAY
  659.     *DefaultOption: LETTER_QUALITY
  660.     *Option: LETTER_QUALITY
  661.     {
  662.         *rcNameID: =LETTER_QUALITY_DISPLAY
  663.         *Command: CmdSelect
  664.         {
  665.             *Order: DOC_SETUP.2
  666.             *Cmd: "<1B>x1"
  667.         }
  668.     }
  669.     *Option: DRAFT_QUALITY
  670.     {
  671.         *rcNameID: =DRAFT_QUALITY_DISPLAY
  672.         *Command: CmdSelect
  673.         {
  674.             *Order: DOC_SETUP.2
  675.             *Cmd: "<1B>x0"
  676.         }
  677.     }
  678. }
  679. *Feature: ColorMode
  680. {
  681.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  682.     *DefaultOption: Color
  683.     *Option: Mono
  684.     {
  685.         *rcNameID: =MONO_DISPLAY
  686.         *DevNumOfPlanes: 1
  687.         *DevBPP: 1
  688.         *Color? : FALSE
  689.     }
  690.     *Option: Color
  691.     {
  692.         *rcNameID: =COLOR_DISPLAY
  693.         *DevNumOfPlanes: 4
  694.         *DevBPP: 1
  695.         *DrvBPP: 4
  696.         EXTERN_GLOBAL: *MoveToX0BeforeSetColor? : TRUE
  697.         EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  698.         *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  699.         *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  700.         *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  701.         *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  702.         *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  703.         *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  704.         *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  705.         *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  706.         *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  707.         *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  708.         *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  709.         *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  710.         *Command: CmdSelect
  711.         {
  712.             *Order: PAGE_SETUP.6
  713.             *Cmd: "<1B>r<00>"
  714.         }
  715.     }
  716. }
  717. *Feature: Halftone
  718. {
  719.     *rcNameID: =HALFTONING_DISPLAY
  720.     *DefaultOption: HT_PATSIZE_AUTO
  721.     *Option: HT_PATSIZE_AUTO
  722.     {
  723.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  724.     }
  725. *Ifdef: WINNT_50
  726.     *Option: HT_PATSIZE_SUPERCELL_M
  727.     {
  728.         *rcNameID: =HT_SUPERCELL_DISPLAY
  729.     }
  730. *Endif:
  731.     *Option: HT_PATSIZE_6x6_M
  732.     {
  733.         *rcNameID: =HT_DITHER6X6_DISPLAY
  734.     }
  735.     *Option: HT_PATSIZE_8x8_M
  736.     {
  737.         *rcNameID: =HT_DITHER8X8_DISPLAY
  738.     }
  739. }
  740. *Command: CmdStartDoc
  741. {
  742.     *Order: DOC_SETUP.1
  743.     *Cmd: "<1B1A011B>@<1B>t<011B>6<1B>[T<0400000003>R<1B>r<00>"
  744. }
  745. *Command: CmdStartPage
  746. {
  747.     *Order: PAGE_SETUP.1
  748.     *Cmd: "<0D>"
  749. }
  750. *RotateCoordinate?: FALSE
  751. *RotateRaster?: FALSE
  752. *RotateFont?: FALSE
  753. *switch: Orientation
  754. {
  755.     *case: PORTRAIT
  756.     {
  757.         *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  758.     }
  759.     *case: LANDSCAPE_CC270
  760.     {
  761.         *TextCaps: LIST(TC_RA_ABLE)
  762.     }
  763. }
  764. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  765. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  766. *MaxLineSpacing: 255
  767. *XMoveThreshold: 0
  768. *YMoveThreshold: *
  769. *XMoveUnit: 60
  770. *YMoveUnit: 180
  771. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  772. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  773. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  774. *Command: CmdCR { *Cmd : "<0D>" }
  775. *Command: CmdLF { *Cmd : "<0A>" }
  776. *Command: CmdFF { *Cmd : "<0D0C>" }
  777. *Command: CmdBackSpace { *Cmd : "<08>" }
  778. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  779. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  780. *EjectPageWithFF?: TRUE
  781. *OutputDataFormat: V_BYTE
  782. *OptimizeLeftBound?: FALSE
  783. *CursorXAfterSendBlockData: AT_GRXDATA_END
  784. *CursorYAfterSendBlockData: NO_MOVE
  785. *DefaultFont: 209
  786. *DefaultCTT: 1
  787. *switch: Orientation
  788. {
  789.     *case: PORTRAIT
  790.     {
  791.         *DeviceFonts: LIST(207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222)
  792.     }
  793.     *case: LANDSCAPE_CC270
  794.     {
  795.         *DeviceFonts: LIST()
  796.     }
  797. }
  798. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  799. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  800. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  801. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  802. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  803. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  804.